<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>

    <script type="text/javascript" src="/js/staticResources/js/vxgplayer-1.8.40.min.js"></script>
    <link rel="stylesheet" href="/js/staticResources/js/vxgplayer-1.8.40.min.css">

    <link rel="shortcut icon" href="#"/>
</head>

<body>
    <div class="content-absolute">
        <div class="content">
            <div id="vxg_media_player1" class="vxgplayer" width="390" height="220"
                 url="rtsp://admin:workwork123@192.168.11.122" autostart
                 avsync nmf-src="/pnacl/Release/media_player.nmf" nmf-path="media_player.nmf">
            </div>
        </div>
    </div>
</body>

<script type="text/javascript">
    self.setInterval("playVideo()",120000);
    function playVideo() {
        window.vxgplayer('vxg_media_player1').stop();
        window.vxgplayer('vxg_media_player1').src("rtsp://admin:workwork123@192.168.11.122");
        window.vxgplayer('vxg_media_player1').play();
    }

</script>

</html>